<?php if (!defined('TL_ROOT')) die('You can not access this file directly!');

/**
 * Class ModuleImagesSlider
 *
 * Front end module "images slider".
 */
class ModuleImagesSlider extends Module
{
	private $MAX_INT = 1000000;

	/**
	 * Template
	 * @var string
	 */
	protected $strTemplate = 'mod_images_slider';


	/**
	 * Display a wildcard in the back end
	 * @return string
	 */
	public function generate()
	{
		return parent::generate();
	}


	/**
	 * Generate module
	 */
	protected function compile()
	{
		$objImage = $this->Database->prepare("SELECT * FROM tl_images_slider where pid=? ORDER BY id")->execute($this->type_slider);
		$arrImage = $objImage->fetchAllAssoc();
		$this->Template->arrImage = $arrImage;
	}
 
}

?>